﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <title></title>
    <script src="jquery.js" type="text/javascript"></script>
    <script src="gestalt.js"></script>
    <link type="text/css" rel="Stylesheet" href="tests.css" />
</head>
<body>
    <h1>Unit Tests</h1>
    <p>Each row should result in a green 50px x 50px box.  If it doesn't, that means the unit test failed.  Unit tests should be run in all of the major browsers, such as Chrome, Safari, Firefox, and IE8, as well as IE7 mode and IE Quirks mode.</p>
    <div class="testcase">
        <span class="test">
            <xml class="xaml" id="canvas1" width="50" height="50">
              <Canvas Background="Green" Width="50" Height="50"></Canvas>
            </xml>
        </span>
        <span class="desc">
            In-line XAML
        </span>
    </div>
    <div class="testcase">
        <span class="test">
            <xml class="xaml" id="canvas2" width="50" height="50">
              <Canvas x:Name="Canvas2" Background="Red" Width="50" Height="50"></Canvas>
            </xml>
            <script language="python" class="canvas2">
brush = SolidColorBrush()
brush.Color = Colors.Green
me.Canvas2.Background = brush
            </script>
        </span>
        <span class="desc">
            In-line XAML with in-line python
        </span>
    </div>
    <div class="testcase">
        <span class="test">
            <xml class="xaml" id="canvas3" width="50" height="50">
              <Canvas x:Name="Canvas3" Background="Red" Width="50" Height="50"></Canvas>
            </xml>
            <script language="ruby" class="canvas3">
brush = SolidColorBrush.new
brush.Color = Colors.Green
$me.Canvas3.Background = brush
            </script>
        </span>
        <span class="desc">
            In-line XAML with in-line ruby
        </span>
    </div>
    <h1>
      External test cases
    </h1>
    <p>These test cases are loaded as IFRAMEs from external files, to test various per-page configurations</p>
    <div class="testcase">
        <span class="test">
            <iframe height="80" width="80" src="unit.nobody.html"></iframe>
        </span>
        <span class="desc">
            Embedded in a page that has no BODY tag.
        </span>
    </div>

</body>
</html>